﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="Ad_SanPhamUC.ascx.cs"
    Inherits="GUI.Admin.uc.Ad_SanPhamUC" %>
<%@ Register Assembly="FredCK.FCKeditorV2" Namespace="FredCK.FCKeditorV2" TagPrefix="FCKeditorV2" %>
<%@ Register Assembly="EO.Web" Namespace="EO.Web" TagPrefix="eo" %>
<script src="../js/jquery-1.4.1.min.js" type="text/javascript"></script>
<!--Panel danh sách các sản phẩm-->
<style type="text/css">
    .gia
    {
        text-align: right;
    }
    
    .style1
    {
        width: 60%;
    }
    .style2
    {
        color: Blue;
        font-size: 25px;
        margin-left: 50px;
    }
    
    .style3
    {
        color: Red;
    }
    
    .style4
    {
        color: #FF0000;
    }
    .style5
    {
        width: 47%;
    }
    
    .style6
    {
        width: 120px;
    }
    
    .style8
    {
        color: #FF0000;
        margin-top: 100px;
        margin-left: 100px;
    }
    
    
    
    .style9
    {
    }
    
    .tb_left
    {
        width: 15%;
    }
    
    .tb_center
    {
        width: 10%;
    }
    
    .tb_right
    {
        width: 75%;
    }
    
    .image_format
    {
        vertical-align: bottom;
        cursor: pointer;
    }
</style>
<script type="text/javascript" language="javascript">

    //Function check input GiaNhap, GiaBan
    function ktGiaNhap_GiaBan(e, args) {
        if (args.Value.length >= 0 && args.Value.length <= 15 && isNaN(args.Value) != true)
            args.IsValid = true;
        else
            args.IsValid = false;
    }

    //////////////////////////////////////////////////////
    function ktInput(str) {
        alert('ktInput action !!!');
        for (var i = 0; i < str.length; i++) {

        }
    }
    /////////////////////////////////////////////////////

    //////////////////////////////////////////////////
    function changeCheckState() {
        try {
            var frm = document.forms[0];
            var i = 0;
            for (i = 0; i < frm.length; i++) {
                if (frm.elements[i].id.indexOf('CheckBoxItem') != -1) {
                    if (document.getElementById(frm.elements[i].id) != null) {
                        if (frm.elements[i].checked == false) {
                            frm.elements[i].checked = true;
                        } else {
                            frm.elements[i].checked = false;
                        }
                    }
                }
            }
        } catch (err) { }
    }
</script>
<asp:Panel ID="PanelDanhSachSanPham" runat="server">
    <table style="width: 100%; border: 1px solid #008000;">
        <tr>
            <td class="style1">
                <asp:ImageButton ID="ImageButtonThemMoi" runat="server" ImageUrl="~/Admin/images/add.png"
                    ToolTip="Thêm sản phẩm mới" OnClick="ImageButtonThemMoi_Click" />
                &nbsp;
                <asp:ImageButton ID="ImageButtonXoa" runat="server" CommandName="Delete" ImageUrl="~/Admin/images/delete.png"
                    ToolTip="Xóa sản phẩm" OnClientClick="return confirm('Bạn có muốn xóa thật không? Lưu ý: Tất cả các hình ảnh liên quan đến những sản phẩm này sẽ bị xóa theo và không thể phục hồi lại.');"
                    OnClick="ImageButtonXoa_Click" />
                &nbsp; <span class="style2">Danh sách sản phẩm </span>
            </td>
            <td class="style5">
                <span class="style4">Tổng số sản phẩm: </span>&nbsp;
                <asp:Label ID="LabelTongSoSanPham" runat="server" Text="" CssClass="style3">
                </asp:Label>
            </td>
        </tr>
        <tr>
            <td colspan="2">
                <asp:Label ID="LabelThongBao" CssClass="style8" runat="server" Visible="False"></asp:Label>
                <asp:GridView ID="GridViewSanPham" runat="server" AllowPaging="True" AutoGenerateColumns="False"
                    CellPadding="4" ForeColor="#333333" Width="100%" EnableModelValidation="True"
                    OnRowEditing="GridViewSanPham_RowEditing" OnPageIndexChanging="GridViewSanPham_PageIndexChanging"
                    OnRowDataBound="GridViewSanPham_RowDataBound" OnRowCommand="GridViewSanPham_RowCommand">
                    <RowStyle BackColor="#EFF3FB" />
                    <Columns>
                        <asp:TemplateField>
                            <HeaderTemplate>
                                <asp:CheckBox ID="CheckBoxAll" runat="server" ToolTip="Check all" onclick="changeCheckState(this);" />
                            </HeaderTemplate>
                            <ItemTemplate>
                                <asp:CheckBox ID="CheckBoxItem" runat="server" ToolTip="Check" OnCheckedChanged="CheckBoxItem_CheckedChanged" />
                            </ItemTemplate>
                            <HeaderStyle Width="20px" />
                        </asp:TemplateField>
                        <asp:TemplateField>
                            <ItemTemplate>
                                <asp:ImageButton ID="ImageButtonSua" runat="server" CommandName="Edit" ImageUrl="~/Admin/images/edit.png"
                                    ToolTip="Sửa thông tin sản phẩm này" />
                            </ItemTemplate>
                            <HeaderStyle Width="20px" />
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="Mã sản phẩm">
                            <ItemTemplate>
                                <asp:Label ID="LabelMaSanPham" runat="server" Text='<%# Eval("MaSanPham") %>'></asp:Label>
                            </ItemTemplate>
                            <HeaderStyle Width="100px" />
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="Nhóm sản phẩm">
                            <ItemTemplate>
                                <asp:Label ID="LabelMaNhomSanPham" runat="server" Text='<%# Eval("MaNhomSanPham") %>'></asp:Label>
                            </ItemTemplate>
                            <HeaderStyle Width="120px" />
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="Nhà sản xuất">
                            <ItemTemplate>
                                <asp:Label ID="LabelMaNhaSanXuat" runat="server" Text='<%# Eval("MaNhaSanXuat") %>'></asp:Label>
                            </ItemTemplate>
                            <HeaderStyle Width="100px" />
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="Tên sản phẩm">
                            <ItemTemplate>
                                <asp:Label ID="LabelTenSanPham" runat="server" Text='<%# Eval("TenSanPham") %>'></asp:Label>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="Media">
                            <ItemTemplate>
                                <asp:ImageButton ID="ImageButtonMedia" runat="server" CssClass="image_format" ImageUrl="~/Admin/images/icon-48-media.png"
                                    CommandArgument='<%# Eval("MaSanPham") %>' CommandName="QuanLyHinhAnh" ToolTip="Click để quản lý hình ảnh sản phẩm" />
                                (<asp:Label ID="LabelMediaCount" runat="server" Text='<%# Eval("ThongSoKyThuat") %>'
                                    Height="20px"></asp:Label>)
                            </ItemTemplate>
                            <HeaderStyle Width="70px" />
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="Giá nhập (VNĐ)">
                            <ItemTemplate>
                                <asp:Label ID="LabelGiaNhap" CssClass="gia" runat="server" Text='<%# Eval("GiaNhap", "{0:0,0}") %>'></asp:Label>
                            </ItemTemplate>
                            <HeaderStyle Width="100px" />
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="Giá bán (VNĐ)">
                            <ItemTemplate>
                                <asp:Label ID="LabelMoTaGiaBan" CssClass="gia" runat="server" Text='<%# Eval("GiaBan", "{0:0,0}")%>'></asp:Label>
                            </ItemTemplate>
                            <HeaderStyle Width="100px" />
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="Khuyến mãi %">
                            <ItemTemplate>
                                <asp:Label ID="LabelKhuyenMai" runat="server" Text='<%# Eval("KhuyenMai") %>'></asp:Label>
                            </ItemTemplate>
                            <HeaderStyle Width="50px" />
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="Số lượng">
                            <ItemTemplate>
                                <asp:Label ID="LabelSoLuong" runat="server" Text='<%# Eval("SoLuongTonKho") %>'></asp:Label>
                            </ItemTemplate>
                            <HeaderStyle Width="50px" />
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="Tình trạng">
                            <ItemTemplate>
                                <asp:Label ID="LabelTinhTrang" runat="server" Text='<%# LoadTinhTrang(Eval("TinhTrang")) %>'></asp:Label>
                            </ItemTemplate>
                            <HeaderStyle Width="80px" />
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="Bảo hành">
                            <ItemTemplate>
                                <asp:Label ID="LabelBaoHanh" runat="server" Text='<%# Eval("BaoHanh") %>'></asp:Label>
                            </ItemTemplate>
                            <HeaderStyle Width="80px" />
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="Lượt mua">
                            <ItemTemplate>
                                <asp:Label ID="LabelSoLuotMua" runat="server" Text='<%# Eval("SoLuotMua") %>'></asp:Label>
                            </ItemTemplate>
                            <HeaderStyle Width="60px" />
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="Lượt xem">
                            <ItemTemplate>
                                <asp:Label ID="LabelSoLuotXem" runat="server" Text='<%# Eval("SoLuotXem") %>'></asp:Label>
                            </ItemTemplate>
                            <HeaderStyle Width="60px" />
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="Ngày đăng">
                            <ItemTemplate>
                                <asp:Label ID="LabelNgayDang" runat="server" Text='<%# LoadFullDateTime(Eval("NgayDang")) %>'></asp:Label>
                            </ItemTemplate>
                            <HeaderStyle Width="140px" />
                        </asp:TemplateField>
                    </Columns>
                    <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                    <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
                    <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
                    <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                    <EditRowStyle BackColor="#2461BF" />
                    <AlternatingRowStyle BackColor="White" />
                </asp:GridView>
            </td>
        </tr>
    </table>
</asp:Panel>
<!--Panel thêm mới, sửa thông tin sản phẩm-->
<asp:Panel ID="PanelThemSuaSanPham" runat="server">
    <table style="width: 100%; border: 1px solid #008000;">
        <tr>
            <td class="style1" colspan="2">
                <asp:ImageButton ID="ButtonTroLai" runat="server" ImageUrl="~/Admin/images/back_f2.png"
                    OnClick="ButtonTroLai_Click" ToolTip="Trở lại" />&nbsp;
                <asp:Label ID="LabelTitle" runat="server" CssClass="style2" Text="Thêm mới sản phẩm"></asp:Label>
            </td>
            <td>
                &nbsp;
            </td>
        </tr>
        <tr>
            <td class="style9">
                &nbsp;
            </td>
            <td>
                <asp:Label ID="LabelMaSanPham" Visible="False" runat="server" Text="Label"></asp:Label>
            </td>
        </tr>
        <tr>
            <td class="tb_left">
                Nhóm sản phẩm :
            </td>
            <td class="tb_center">
                <asp:DropDownList ID="DropDownListNhomSanPham" runat="server" Width="250px">
                </asp:DropDownList>
            </td>
            <td class="tb_right">
                <asp:CompareValidator ID="CompareValidatorNhomSanPham" runat="server" ControlToValidate="DropDownListNhomSanPham"
                    Display="Dynamic" ErrorMessage="(*) Vui lòng chọn nhóm sản phẩm" Operator="NotEqual"
                    SetFocusOnError="True" ValueToCompare="Default" ValidationGroup="Nhap" ForeColor="Red"></asp:CompareValidator>
            </td>
        </tr>
        <tr>
            <td class="tb_left">
                Nhà sản xuất :
            </td>
            <td class="tb_center">
                <asp:DropDownList ID="DropDownListNhaSanXuat" runat="server" Width="250px">
                </asp:DropDownList>
            </td>
            <td class="tb_right">
                <asp:CompareValidator ID="CompareValidatorNhaSanXuat" runat="server" ControlToValidate="DropDownListNhaSanXuat"
                    Display="Dynamic" ErrorMessage="(*) Vui lòng chọn nhà sản xuất" Operator="NotEqual"
                    SetFocusOnError="True" ValidationGroup="Nhap" ValueToCompare="Default" ForeColor="Red"></asp:CompareValidator>
            </td>
        </tr>
        <tr>
            <td class="tb_left">
                Tên sản phẩm :
            </td>
            <td class="tb_center">
                <asp:TextBox ID="TextBoxTenSanPham" runat="server" ToolTip="Nhập tên sản phẩm" Width="250px">
                </asp:TextBox>
            </td>
            <td>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="TextBoxTenSanPham"
                    Display="Dynamic" ErrorMessage="(*) Vui lòng nhập tên sản phẩm" SetFocusOnError="True"
                    ValidationGroup="Nhap" ForeColor="Red"></asp:RequiredFieldValidator>
                <asp:Label ID="LabelTonTaiTenSanPham" runat="server" ForeColor="Red"></asp:Label>
            </td>
        </tr>
        <tr>
            <td class="tb_left">
                Hình ảnh :
            </td>
            <td class="tb_center">
                <asp:FileUpload ID="FileUploadHinhAnh" runat="server" ToolTip="Chọn hình" EnableTheming="True" />
            </td>
            <td class="tb_right">
                <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ErrorMessage="(*) File ảnh chưa đúng định dạng !"
                    ValidationExpression="^(([a-zA-Z]:)|(\\{2}\w+)\$?)(\\(\w[\w].*))+(.jpg|.JPG|.gif|.GIF|.png|.PNG)$"
                    ControlToValidate="FileUploadHinhAnh" Display="Dynamic" ForeColor="Red"></asp:RegularExpressionValidator>
                <asp:Label ID="LabelFileSize" runat="server" ForeColor="Red"></asp:Label>
            </td>
        </tr>
        <tr>
            <td class="tb_left">
                &nbsp;
            </td>
            <td class="tb_center" colspan="2">
                Lưu ý: Chỉ được upload hình theo định dạng: <span class="style3">*.jpg, *.gif, *.png</span>
                và kích thước tối đa <span class="style3">3MB</span>.
            </td>
        </tr>
        <tr>
            <td class="tb_left">
                &nbsp;
            </td>
            <td class="tb_center">
                <asp:Image ID="ImageHinhAnh" runat="server" Visible="False" />
            </td>
            <td class="tb_right">
                &nbsp;
            </td>
        </tr>
        <tr>
            <td class="tb_left">
                Thông số kỹ thuật:
            </td>
            <td class="tb_center" colspan="2">
                <FCKeditorV2:FCKeditor ID="FCKeditorNoiDung" runat="server" BasePath="fckeditor/"
                    Height="300px" Width="100%" AutoDetectLanguage="false" DefaultLanguage="vi">
                </FCKeditorV2:FCKeditor>
            </td>
        </tr>
        <tr>
            <td class="tb_left">
                Giá nhập:
            </td>
            <td class="tb_center" colspan="2">
                <asp:TextBox ID="TextBoxGiaNhap" runat="server" ToolTip="Giá nhập" Width="250px"
                    MaxLength="15">0</asp:TextBox>
                &nbsp;&nbsp;<span class="style3">(VNĐ)</span>
                <asp:RequiredFieldValidator ID="RequiredFieldValidatorGiaNhap" runat="server" ControlToValidate="TextBoxGiaNhap"
                    Display="Dynamic" ErrorMessage="(*) Vui lòng nhập giá nhập của sản phẩm" SetFocusOnError="True"
                    ValidationGroup="Nhap" ForeColor="Red"></asp:RequiredFieldValidator>
                <asp:CustomValidator ID="CustomValidatorGiaNhap" runat="server" ClientValidationFunction="ktGiaNhap_GiaBan"
                    ControlToValidate="TextBoxGiaNhap" Display="Dynamic" ErrorMessage="(*) Giá nhập chưa đúng"
                    SetFocusOnError="True" ValidationGroup="Nhap" ForeColor="Red"></asp:CustomValidator>
            </td>
        </tr>
        <tr>
            <td class="tb_left">
                Giá bán:
            </td>
            <td class="tb_center" colspan="2">
                <asp:TextBox ID="TextBoxGiaBan" runat="server" ToolTip="Giá bán" Width="250px" MaxLength="15">0</asp:TextBox>&nbsp;&nbsp;<span
                    class="style3">(VNĐ)</span>
                <asp:RequiredFieldValidator ID="RequiredFieldValidatorGiaBan" runat="server" ControlToValidate="TextBoxGiaBan"
                    Display="Dynamic" ErrorMessage="(*) Vui lòng nhập vào giá bán" SetFocusOnError="True"
                    ValidationGroup="Nhap" ForeColor="Red"></asp:RequiredFieldValidator>&nbsp;&nbsp;
                <asp:CustomValidator ID="CustomValidatorGiaBan" runat="server" ClientValidationFunction="ktGiaNhap_GiaBan"
                    ControlToValidate="TextBoxGiaBan" Display="Dynamic" ErrorMessage="(*) Giá bán chưa đúng"
                    SetFocusOnError="True" ValidationGroup="Nhap" ForeColor="Red"></asp:CustomValidator>
            </td>
        </tr>
        <tr>
            <td class="tb_left">
                Khuyến mãi:
            </td>
            <td class="tb_center" colspan="2">
                <asp:TextBox ID="TextBoxKhuyenMai" runat="server" ToolTip="Khuyến mãi" Width="250px"
                    MaxLength="3">0</asp:TextBox>&nbsp;&nbsp;<span class="style3">(%)</span>
                <asp:CustomValidator ID="CustomValidatorKhuyenMai" runat="server" ClientValidationFunction="ktGiaNhap_GiaBan"
                    ControlToValidate="TextBoxKhuyenMai" Display="Dynamic" ErrorMessage="(*) Khuyến mãi chưa đúng"
                    SetFocusOnError="True" ValidationGroup="Nhap" ForeColor="Red"></asp:CustomValidator>
            </td>
        </tr>
        <tr>
            <td class="tb_left">
                Số lượng tồn kho:
            </td>
            <td class="tb_center" colspan="2">
                <asp:TextBox ID="TextBoxSoLuongTonKho" runat="server" ToolTip="Số lượng tồn kho"
                    Width="250px" MaxLength="15">0</asp:TextBox>&nbsp;&nbsp;
                <asp:RequiredFieldValidator ID="RequiredFieldValidatorSoLuongTon" runat="server"
                    ControlToValidate="TextBoxSoLuongTonKho" Display="Dynamic" ErrorMessage="(*) Vui lòng nhập vào số lượng tồn kho của sản phẩm"
                    SetFocusOnError="True" ValidationGroup="Nhap" ForeColor="Red"></asp:RequiredFieldValidator>
                &nbsp;&nbsp;
                <asp:CustomValidator ID="CustomValidatorSoLuongTonKho" runat="server" ClientValidationFunction="ktGiaNhap_GiaBan"
                    ControlToValidate="TextBoxSoluongTonKho" Display="Dynamic" ErrorMessage="(*) Số lượng tồn kho chưa đúng"
                    SetFocusOnError="True" ValidationGroup="Nhap" ForeColor="Red"></asp:CustomValidator>
            </td>
        </tr>
        <tr>
            <td class="tb_left">
                Bảo hành :
            </td>
            <td class="tb_center">
                <asp:DropDownList ID="DropDownListThoiGianBaoHanh" runat="server" Width="100px">
                </asp:DropDownList>
                &nbsp;
                <asp:DropDownList ID="DropDownListLoaiThoiGian" runat="server" Width="100px">
                    <asp:ListItem>Ngày</asp:ListItem>
                    <asp:ListItem>Tuần</asp:ListItem>
                    <asp:ListItem>Tháng</asp:ListItem>
                    <asp:ListItem>Năm</asp:ListItem>
                </asp:DropDownList>
                &nbsp;
            </td>
            <td class="tb_right">
                &nbsp;
            </td>
        </tr>
        <tr>
            <td class="tb_left">
                Ngày đăng:
            </td>
            <td>
                <eo:DatePicker ID="DatePicker1_NgayDang" runat="server" ControlSkinID="None" DayCellHeight="16"
                    DayCellWidth="19" DisabledDates="" FirstMonth="2010-07-01" MinValidDate="2010-01-01"
                    OtherMonthDayVisible="True" PickerFormat="dd/MM/yyyy hh:mm:ss tt" SelectedDates=""
                    TitleLeftArrowImageUrl="DefaultSubMenuIconRTL" TitleRightArrowImageUrl="DefaultSubMenuIcon"
                    VisibleDate="2012-02-01" Width="250px" MaxValidDate="9998-12-31">
                    <TodayStyle CssText="font-family: tahoma; font-size: 12px; border-right: #bb5503 1px solid; border-top: #bb5503 1px solid; border-left: #bb5503 1px solid; border-bottom: #bb5503 1px solid" />
                    <SelectedDayStyle CssText="font-family: tahoma; font-size: 12px; background-color: #fbe694; border-right: white 1px solid; border-top: white 1px solid; border-left: white 1px solid; border-bottom: white 1px solid" />
                    <DisabledDayStyle CssText="font-family: tahoma; font-size: 12px; color: gray; border-right: white 1px solid; border-top: white 1px solid; border-left: white 1px solid; border-bottom: white 1px solid" />
                    <PickerStyle CssText="font-family:Courier New; padding-left:5px; padding-right: 5px;" />
                    <CalendarStyle CssText="background-color: white; border-right: #7f9db9 1px solid; padding-right: 4px; border-top: #7f9db9 1px solid; padding-left: 4px; font-size: 9px; padding-bottom: 4px; border-left: #7f9db9 1px solid; padding-top: 4px; border-bottom: #7f9db9 1px solid; font-family: tahoma" />
                    <TitleArrowStyle CssText="cursor:hand" />
                    <DayHoverStyle CssText="font-family: tahoma; font-size: 12px; border-right: #fbe694 1px solid; border-top: #fbe694 1px solid; border-left: #fbe694 1px solid; border-bottom: #fbe694 1px solid" />
                    <MonthStyle CssText="font-family: tahoma; font-size: 12px; margin-left: 14px; cursor: hand; margin-right: 14px" />
                    <TitleStyle CssText="background-color:#9ebef5;font-family:Tahoma;font-size:12px;padding-bottom:2px;padding-left:6px;padding-right:6px;padding-top:2px;" />
                    <OtherMonthDayStyle CssText="font-family: tahoma; font-size: 12px; color: gray; border-right: white 1px solid; border-top: white 1px solid; border-left: white 1px solid; border-bottom: white 1px solid" />
                    <DayHeaderStyle CssText="font-family: tahoma; font-size: 12px; border-bottom: #aca899 1px solid" />
                    <DayStyle CssText="font-family: tahoma; font-size: 12px; border-right: white 1px solid; border-top: white 1px solid; border-left: white 1px solid; border-bottom: white 1px solid" />
                </eo:DatePicker>
            </td>
            <td class="tb_center">
                &nbsp;
            </td>
        </tr>
        <tr>
            <td class="tb_left">
                &nbsp;
            </td>
            <td class="tb_center">
                &nbsp;
            </td>
            <td class="tb_right">
                &nbsp;
            </td>
        </tr>
        <tr>
            <td class="style9">
                <asp:HiddenField ID="HiddenFieldMaHinh" runat="server" Visible="False" />
            </td>
            <td style="text-align: left">
                <asp:Button ID="ButtonLuu" runat="server" CommandName="ThemMoi" OnClick="btnLuu_Click"
                    Text="Lưu" ToolTip="Lưu lại" ValidationGroup="Nhap" Width="80px" />
                &nbsp;
                <asp:Button ID="ButtonNhapLai" runat="server" OnClick="btnNhaplai_Click" Text="Nhập lại"
                    ToolTip="Nhập lại" Width="80px" />
            </td>
            <td class="style6" style="text-align: left">
                &nbsp;
                <asp:HiddenField ID="HiddenFieldSoLuotXem" runat="server" Visible="False" />
            </td>
        </tr>
        <tr>
            <td class="tb_left">
                <asp:HiddenField ID="HiddenFieldTenHinh" runat="server" Visible="False" />
            </td>
            <td class="tb_center" colspan="2">
                <asp:HiddenField ID="HiddenFieldSoLuotMua" runat="server" Visible="False" />
            </td>
        </tr>
    </table>
</asp:Panel>
